<?php
class Silk_Dao_Setting extends Doctrine_Record
{

    public function setTableDefinition()
    {
        $this->setTableName('silk_setting');
        $this->option('charset', 'utf8');
        $this->option('collate', 'utf8_unicode_ci');
        $this->option('type', 'MyISAM');
        $this->hasColumn('setting_id', 'integer', 4, array('type' => 'integer' ,'length' => 4, 'unsigned' => 1, 'primary' => true, 'autoincrement' => true ));
        $this->hasColumn('site_id', 'integer', 4, array('type' => 'integer' ,'length' => 4, 'unsigned' => 1 ));
        $this->hasColumn('name', 'string', 255, array('type' => 'string' ,'length' => 255, 'notnull' => true  ));
        $this->hasColumn('value', 'string', 255, array('type' => 'string' ,'length' => 255));
        $this->hasColumn('description', 'clob');
    }

    public function setUp()
    {

    }


}

 ?>